// var n;
// exports.UIConfig_Game = exports.UIView_Game = void 0;
// var $bundleConfig = require("./BundleConfig");
// var $uIManager = require("./UIManager");
// exports.UIView_Game = {
//     UI_GameView: "UI_GameView",
//     UI_Bag: "UI_Bag",
//     UI_ChiTiao: "UI_ChiTiao",
//     UI_GameOver: "UI_GameOver",
//     UI_PlayerInfo: "UI_PlayerInfo",
//     UI_GameFail: "UI_GameFail",
//     UI_GameEquipInfo: "UI_GameEquipInfo",
//     UI_VideoBuyOne: "UI_VideoBuyOne",
//     UI_GamePuase: "UI_GamePuase",
//     UI_GetZaZhong: "UI_GetZaZhong",
//     UI_AttackTongJi: "UI_AttackTongJi",
//     UI_TuJian: "UI_TuJian"
// };
// exports.UIConfig_Game =
//     (((n = {})[exports.UIView_Game.UI_GameView] = {
//         prefab: "prefabs/UI_GameView",
//         block: !0
//     }),
//     (n[exports.UIView_Game.UI_Bag] = {
//         prefab: "prefabs/hecheng/UI_Bag",
//         block: !0
//     }),
//     (n[exports.UIView_Game.UI_ChiTiao] = {
//         prefab: "prefabs/UI_ChiTiao",
//         block: !0
//     }),
//     (n[exports.UIView_Game.UI_GameOver] = {
//         prefab: "prefabs/UI_GameOver",
//         block: !0
//     }),
//     (n[exports.UIView_Game.UI_PlayerInfo] = {
//         prefab: "prefabs/UI_PlayerInfo",
//         block: !0,
//         mask: !0
//     }),
//     (n[exports.UIView_Game.UI_GameFail] = {
//         prefab: "prefabs/UI_GameFail",
//         block: !0,
//         mask: !0
//     }),
//     (n[exports.UIView_Game.UI_GameEquipInfo] = {
//         prefab: "prefabs/UI_GameEquipInfo",
//         block: !0,
//         mask: !1
//     }),
//     (n[exports.UIView_Game.UI_VideoBuyOne] = {
//         prefab: "prefabs/UI_VideoBuyOne",
//         block: !0,
//         mask: !0
//     }),
//     (n[exports.UIView_Game.UI_GamePuase] = {
//         prefab: "prefabs/UI_GamePuase",
//         block: !0,
//         mask: !0
//     }),
//     (n[exports.UIView_Game.UI_GetZaZhong] = {
//         prefab: "prefabs/UI_GetZaZhong",
//         block: !0,
//         mask: !1
//     }),
//     (n[exports.UIView_Game.UI_AttackTongJi] = {
//         prefab: "prefabs/UI_AttackTongJi",
//         block: !0,
//         mask: !0
//     }),
//     (n[exports.UIView_Game.UI_TuJian] = {
//         prefab: "prefabs/UI_TuJian",
//         block: !0,
//         mask: !0
//     }),
//     n);
// $uIManager.default.register($bundleConfig.BundleNames.Game, exports.UIConfig_Game);

import {BundleNames} from "./BundleConfig";
import UIManager from "./UIManager";

/**
 * 游戏视图枚举
 * 建议名称：GameViewEnum
 */
export const UIView_Game = {
    UI_GameView: "UI_GameView",
    UI_Bag: "UI_Bag",
    UI_ChiTiao: "UI_ChiTiao",
    UI_GameOver: "UI_GameOver",
    UI_PlayerInfo: "UI_PlayerInfo",
    UI_GameFail: "UI_GameFail",
    UI_GameEquipInfo: "UI_GameEquipInfo",
    UI_VideoBuyOne: "UI_VideoBuyOne",
    UI_GamePuase: "UI_GamePuase",
    UI_GetZaZhong: "UI_GetZaZhong",
    UI_AttackTongJi: "UI_AttackTongJi",
    UI_TuJian: "UI_TuJian"
};

/**
 * 游戏UI配置
 * 建议名称：GameUIConfig
 */
export const UIConfig_Game: { [key: string]: { prefab: string, block: boolean, mask?: boolean } } = {
    [UIView_Game.UI_GameView]: {
        prefab: "prefabs/UI_GameView",
        block: true
    },
    [UIView_Game.UI_Bag]: {
        prefab: "prefabs/hecheng/UI_Bag",
        block: true
    },
    [UIView_Game.UI_ChiTiao]: {
        prefab: "prefabs/UI_ChiTiao",
        block: true
    },
    [UIView_Game.UI_GameOver]: {
        prefab: "prefabs/UI_GameOver",
        block: true
    },
    [UIView_Game.UI_PlayerInfo]: {
        prefab: "prefabs/UI_PlayerInfo",
        block: true,
        mask: true
    },
    [UIView_Game.UI_GameFail]: {
        prefab: "prefabs/UI_GameFail",
        block: true,
        mask: true
    },
    [UIView_Game.UI_GameEquipInfo]: {
        prefab: "prefabs/UI_GameEquipInfo",
        block: true,
        mask: false
    },
    [UIView_Game.UI_VideoBuyOne]: {
        prefab: "prefabs/UI_VideoBuyOne",
        block: true,
        mask: true
    },
    [UIView_Game.UI_GamePuase]: {
        prefab: "prefabs/UI_GamePuase",
        block: true,
        mask: true
    },
    [UIView_Game.UI_GetZaZhong]: {
        prefab: "prefabs/UI_GetZaZhong",
        block: true,
        mask: false
    },
    [UIView_Game.UI_AttackTongJi]: {
        prefab: "prefabs/UI_AttackTongJi",
        block: true,
        mask: true
    },
    [UIView_Game.UI_TuJian]: {
        prefab: "prefabs/UI_TuJian",
        block: true,
        mask: true
    }
};

// 注册游戏UI配置
UIManager.registerUIConfig(BundleNames.Game, UIConfig_Game);